﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace THE_WIND_RISES.Common.Domans.Produce.Craft
{
    /// <summary>
    /// 工序行
    /// </summary>
    public class OperationLine: Entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int OperationLineId { get; set; }

        /// <summary>
        /// 顺序号
        /// </summary>
        public string SerialNumber { get; set; }

        /// <summary>
        /// 工序
        /// </summary>
        public int ProcessId { get; set; }

        /// <summary>
        /// 工作中心
        /// </summary>
        public int WorkCenterId { get; set; }

        /// <summary>
        /// 前置期
        /// </summary>
        public decimal LeadTime { get; set; }

        /// <summary>
        /// 工价
        /// </summary>
        public decimal LabourPrice { get; set; }

        /// <summary>
        /// 废扣工价
        /// </summary>
        public decimal LostButton { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        public string Abstract { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool OperationStatus { get; set; }

        /// <summary>
        /// 工艺路线序号
        /// </summary>
        public int ProcessRouteId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
